<template>
	<view>
		<uni-forms  :modelValue="form" :rules="rules" ref="formRef" >
			<uni-forms-item name="username">
				<uni-easyinput type="text" v-model="form.username" placeholder="用户名"/>
				
			</uni-forms-item>
			<uni-forms-item >
					<button type="primary" size="mini" @click="save">保 存</button>
						</uni-forms-item>
		</uni-forms>
		
	</view>
</template>

<script>
	export default{
		data(){
			return{
				user: uni.getStorageSync('weather2024'),
				form:{},
				
			}
			
		},
		methods:{
			
			
		}
	}
</script>

<style>
</style>